package com.nhjf.mobile.bus.exception;

import java.util.Date;

public class ExceptionHandleConfig {
	/**
	 * 是否需要多次重试执行修复方法
	 */
	private boolean retry;
	/**
	 * 最大重试次数
	 */
	private int maxRetryTimes;

	/**
	 * 紧急程度 0需要马上处理 1排队 2延时处理
	 */
	private int urgencyDegree;
	/**
	 * 延时处理时，可设定处理时间，在该时间后处理
	 */
	private Date fixTime;

	public boolean isRetry() {
		return retry;
	}

	public void setRetry(boolean retry) {
		this.retry = retry;
	}

	public int getMaxRetryTimes() {
		return maxRetryTimes;
	}

	public void setMaxRetryTimes(int maxRetryTimes) {
		this.maxRetryTimes = maxRetryTimes;
	}

	public int getUrgencyDegree() {
		return urgencyDegree;
	}

	public void setUrgencyDegree(int urgencyDegree) {
		this.urgencyDegree = urgencyDegree;
	}

	public Date getFixTime() {
		return fixTime;
	}

	public void setFixTime(Date fixTime) {
		this.fixTime = fixTime;
	}

}
